package com.zxf.appliction.domain;

public class Content {
    private Integer contentid;

	private Integer articleid;

	private String title;

	private String content;



	public Content() {
		super();
	}

	public Content(Integer contentid, Integer articleid, String title, String content) {
		super();
		this.contentid = contentid;
		this.articleid = articleid;
		this.title = title;
		this.content = content;
	}

	@Override
	public String toString() {
		return "Content [contentid=" + contentid + ", articleid=" + articleid + ", title=" + title + ", content="
				+ content + "]";
	}

	public Integer getContentid() {
		return contentid;
	}

	public void setContentid(Integer contentid) {
		this.contentid = contentid;
	}

	public Integer getArticleid() {
		return articleid;
	}

	public void setArticleid(Integer articleid) {
		this.articleid = articleid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title == null ? null : title.trim();
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content == null ? null : content.trim();
	}

	
}